* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    width: 100%;
    vertical-align: middle;
}

.box {
    width: 1110px;
    height: 247px;
    margin: 20px auto;
}

.box li {
    position: relative;
    float: left;
    width: 350px;
    height: 247px;
    margin-right: 30px;
    /* overflow: hidden; */
}

.box li:last-child {
    margin-right: 0;
}

.box li .txt {
    position: absolute;
    top: 100px;
    left: 30px;
    color: #fff;
    padding: 0 20px;
}

.box li .txt h4 {
    margin-top: 10px;
}



.box .iconfont{
    margin-left: 5px;
    color: red;
}

.box .bg{
    position: absolute;
    left: 0;
    top: 0;
    width: 350px;
    height: 247px;
    margin-right: 30px;
    background-image: linear-gradient(transparent,rgba(0, 0, 0, 0.45)) ;
    opacity: 0;
    transition: all 1s;
}

.box li:hover .bg{
    opacity: 1;
}

.box li .learn {
    color: black;
    position: absolute;
    bottom: 15px;
    left: 50px;
    font-size: 12px;
    justify-content: space-between;
}




